package org.jeecg.modules.maintain.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备维保周期历史表
 * @Author: jeecg-boot
 * @Date:   2022-12-14
 * @Version: V1.0
 */
@Data
@TableName("camellia_device_patrol_history")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="camellia_device_patrol_history对象", description="设备维保周期历史表")
public class CamelliaDevicePatrolHistory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**维保id*/
	@Excel(name = "维保id", width = 15)
    @ApiModelProperty(value = "维保id")
    private String patrolId;
	/**维保开始日期*/
	@Excel(name = "维保开始日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "维保开始日期")
    private Date patrolStarttime;
	/** 设备编号*/
	@Excel(name = " 设备编号", width = 15)
    @ApiModelProperty(value = " 设备编号")
    private String deviceCode;
	/**维保描述*/
	@Excel(name = "维保描述", width = 15)
    @ApiModelProperty(value = "维保描述")
    private String patrolDesc;
	/**维保图片*/
	@Excel(name = "维保图片", width = 15)
    @ApiModelProperty(value = "维保图片")
    private String patrolImage;
	/**维保完成日期*/
	@Excel(name = "维保完成日期", width = 15)
    @ApiModelProperty(value = "维保完成日期")
    private String patrolTime;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/** 是否删除*/
	@Excel(name = " 是否删除", width = 15)
    @ApiModelProperty(value = " 是否删除")
    private String isDeleted;
}
